Scheduler for WPF | ComponentOne
C1.WPF.Schedule Namespace / C1Scheduler Class / NavigateToAppointment Method / NavigateToAppointment(Boolean,Nullable<DateTime>) Method
If true, means the backward direction; forward direction otherwise.
The start System.DateTime point. If this parameter has no value, navigation will be performed starting from the C1Scheduler.SelectedDateTime property value.

In This Topic
    NavigateToAppointment(Boolean,Nullable<DateTime>) Method
    In This Topic
    Navigates the C1Scheduler control to the nearest C1.C1Schedule.Appointment.
    Syntax
    'Declaration
     
    
    Public Overloads Function NavigateToAppointment( _
       ByVal previous As Boolean, _
       ByVal startTime As Nullable(Of Date) _
    ) As Boolean
    public bool NavigateToAppointment( 
       bool previous,
       Nullable<DateTime> startTime
    )

    Parameters

    previous
    If true, means the backward direction; forward direction otherwise.
    startTime
    The start System.DateTime point. If this parameter has no value, navigation will be performed starting from the C1Scheduler.SelectedDateTime property value.

    Return Value

    True if navigation has occurred; False if there are no appointments in the specified direction.
    See Also